package com.example.ssmydesign.api;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
@Api(tags = {"总接口"})
public class PathController {

    @GetMapping("/")
    public String home() {
        return "index";
    }

    @GetMapping("/index")
    public String home1() {
        return "index";
    }

    @GetMapping("/gaikuang")
    public String gaikuang() {
        return "gaikuang";
    }

    @GetMapping("/dongtai")
    public String dongtai() {
        return "dongtai";
    }

    @GetMapping("/jiaru")
    public String jiaru() {
        return "jiaru";
    }

    @GetMapping("/shiguang")
    public String shiguang() {
        return "shiguang";
    }

    @GetMapping("/wangjie")
    public String wangjie() {
        return "wangjie";
    }

    @GetMapping("/xuexi")
    public String xuexi() {
        return "xuexi";
    }
}
